@import '../style/themes/index';

.weui-switch{
  &-small {
    width: @switch-sm-min-width;
    height: @switch-sm-height;
    line-height: @switch-sm-height;
    &:before {
      height: calc(@switch-sm-height - 2px);
      width: calc(@switch-sm-min-width - 2px);
    }
    &:after {
      height: calc(@switch-sm-height - 2px);
      width: calc(@switch-sm-height - 2px);
    }
  }
}